package object_;

/**
 * @Package: ObjectClass
 * @ClassName: ToString
 * @Author: x2606
 * @CreateTime: 2022/3/1 21:49
 * @Description: Object.toString
 */

public class ToString {
    public static void main(String[] args) {
        Object o = new Object();
        //返回该类的全类名（包名+类名）+@+哈希值的十六进制，一般子类推荐重写toString
        System.out.println(o.toString());
    }
}
